<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
<div style="clear:both;"></div>
<div class="description_information">
	<p>
	<?php if (strlen($this->fiche->creator->organisation)) { ?>
		<?php echo JText::_($this->fiche->creator->organisation); ?><br />
	<?php } ?>
	<?php if (strlen($this->fiche->creator->name)) { ?>
		<?php echo JText::_($this->fiche->creator->name); ?><br />
	<?php } ?>
	<?php if (strlen($this->fiche->creator->address_1)) { ?>
		<?php echo JText::_($this->fiche->creator->address_1); ?><br />
	<?php } ?>
	<?php if (strlen($this->fiche->creator->address_2)) { ?>
		<?php echo JText::_($this->fiche->creator->address_2); ?><br />
	<?php } ?>
	<?php if (strlen($this->fiche->creator->postal_code)) { ?>
		<?php echo JText::_($this->fiche->creator->postal_code).' '.JText::_($this->fiche->creator->city); ?><br /><br />
	<?php } ?>
	<?php if (strlen($this->fiche->creator->tel_nb)) { ?>
		<label><?php echo JText::_('COM_GEOTRAILS_PHONE'); ?><?php echo ': '.JText::_($this->fiche->creator->tel_nb); ?><br /><br />
	<?php } ?>
	<?php 
	if (strlen($this->fiche->creator->email)) {
		$mailto = "mailto:" . $this->fiche->creator->email;
		echo JHtml::_('link', $mailto, JText::_('COM_GEOTRAILS_EMAIL'), ''); 
	}
	
	if (strlen($this->fiche->creator->internet)) {
		echo ' - ' ;
		$web_site = "http://" . $this->fiche->creator->internet; 
		$attribs['target'] = '_blank';
		echo JHtml::_('link', $web_site, JText::_('COM_GEOTRAILS_INTERNET'), $attribs);
	}		
	?>		
	</p>
</div>